<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <style>
        body{
            margin-bottom:50px;
        }
        .page-title{
            background: #ffffff none repeat scroll 0 0;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.05);
            clear: both;
            height: 43px;
            line-height:43px;
            padding: 0 20px;
        }
    </style>
    <div class="page-title">
        一般設備G
    </div>
    <div id="container" class="container">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div class="panel panel-default">
                <div class="panel-heading">
                    一般設備G
                </div>
                <div contenteditable="true" class="panel-body">
                    <div>
                        <p style="text-align: center;"><span style="font-size: 16px;">裝置代號: &nbsp;{$row.devicename} &nbsp; 裝置名稱: {$row.deviceselfname}&nbsp; &nbsp; &nbsp;類型:&nbsp;<span style="color: rgb(51, 51, 51); ">{$row.smallcategoryname}</span></span> </p>
                    </div>
                </div>
            </div>
            <div class="row base row-fluid clearfix">
                <div class="col-md-12">
                    <div class="form-group">
                        <label  class="col-xs-2 control-label">關聯裝置</label>
                        <div class="col-xs-12 col-sm-8">
                            <input readonly value="{$row.device1name}" class="form-control text" />
                        </div>
                    </div>

                    <div class="row base row-fluid clearfix">
                        <div class="col-md-12"></div>
                    </div>
                    <div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">告警開關</label>
                        <div class="col-xs-12 col-sm-8">

                            <div class="radio">
                                {foreach name="warningSwitchList" item="vo"}
                                <label for="row[warning_switch]-{$key}">
                                    <input id="row[warning_switch]-{$key}" name="row[warning_switch]" type="radio" value="{$key}" {in name="key" value="$row.warning_switch"}checked{/in} /> {$vo}
                                </label>
                                {/foreach}
                            </div>

                        </div>
                    </div>
                    <div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label">設置方式</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="warningWayList" item="vo"}
                                <label for="row[warning_way]-{$key}"><input id="row[warning_way]-{$key}" name="row[warning_way]" type="radio" value="{$key}" {in name="key" value="$row.warning_way"}checked{/in} /> {$vo}</label>
                                {/foreach}
                            </div>
                        </div>

                    </div>
                    <div>
                    </div>
                    <div class="form-group">
                        <label  class="col-xs-2 control-label">報警狀態</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="warningStatusList" item="vo"}
                                <label for="row[warning_status]-{$key}"><input id="row[warning_status]-{$key}" name="row[warning_status]" type="radio" value="{$key}" {in name="key" value="$row.warning_status"}checked{/in} /> {$vo}</label>
                                {/foreach}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-xs-2 control-label">告警時機</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="warningTypeList" item="vo"}
                                <label for="row[warning_type]-{$key}">
                                    <input id="row[warning_type]-{$key}" name="row[warning_type]" type="radio" value="{$key}" {in name="key" value="$row.warning_type"}checked{/in} /> {$vo}
                                </label>
                                {/foreach}
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">延遲時間</label>
                        <div class="col-xs-12 col-sm-8">
                            <input placeholder="請輸入延遲報警時間(分鐘)" autocomplete="off" name="row[delay_time]" value="{$row.delay_time}" id="429556" type="number" class="form-control text" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">重複報警</label>
                        <div class="col-xs-12 col-sm-8">
                            <input placeholder="請輸入重複報警時間(小時後)" autocomplete="off" name="row[replay_time]" value="{$row.replay_time}" id="112652" type="number" class="form-control text" />
                        </div>
                    </div>
                    <div>
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        <span style="color: rgb(33, 37, 41); font-family: &quot;Microsoft JhengHei&quot;, sans-serif;">※</span>每日時間區段:
                        <strong><span style="color: rgb(192, 0, 0);">(1)21:00-04:59 (2)05:00-12:59、(3)13:00-20:59 </span>&nbsp;</strong>
                        <br />
                        <p><span style=";font-family:'Microsoft JhengHei',sans-serif;color:#212529">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ※</span><span style=";font-family:'PMingLiU',serif;color:#212529">下限及上限值次數計算以在線狀態為主</span><span style=";font-family:'Segoe UI',sans-serif;color:#212529">,</span><span style=";font-family:'PMingLiU',serif;color:#212529">符合在線狀態設定值以內的啟動</span><span style=";font-family:'Segoe UI',sans-serif;color:#212529">,</span><span style=";font-family:'PMingLiU',serif;color:#212529">則計算</span><span style=";font-family:'Segoe UI',sans-serif;color:#212529">1</span><span style=";font-family:'PMingLiU',serif;color:#212529">次次數<span style="font-family: PMingLiU, serif; color: rgb(192, 0, 0);"></span></span> </p>
                    </div>
                </div>
            </div>
            <div class="tabbable" id="tabs777364">
                <ul class="nav nav-tabs" role="tablist">
                    <li class="active"><a href="#tab0" role="tab" data-toggle="tab" aria-expanded="true">星期日</a></li>
                    <li class=""><a href="#tab1" role="tab" data-toggle="tab" aria-expanded="false">星期一</a></li>
                    <li><a href="#tab2" role="tab" data-toggle="tab">星期二</a></li>
                    <li><a href="#tab3" role="tab" data-toggle="tab">星期三</a></li>
                    <li><a href="#tab4" role="tab" data-toggle="tab">星期四</a></li>
                    <li><a href="#tab5" role="tab" data-toggle="tab">星期五</a></li>
                    <li><a href="#tab6" role="tab" data-toggle="tab">星期六</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane  active" id="tab0" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d0_t1]" value="{$row.d0_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d0_t2]" value="{$row.d0_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d0_t3]" value="{$row.d0_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d0StandardSwitchList" item="vo"}
                                    <label for="row[d0_standard_switch]-{$key}">
                                        <input id="row[d0_standard_switch]-{$key}" name="row[d0_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d0_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d0_standard]" value="{$row.d0_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d0_top]" value="{$row.d0_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d0_online]" value="{$row.d0_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d0_offline]" value="{$row.d0_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>
                    <div class="tab-pane" id="tab1" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d1_t1]" value="{$row.d1_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d1_t2]" value="{$row.d1_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d1_t3]" value="{$row.d1_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d1StandardSwitchList" item="vo"}
                                    <label for="row[d1_standard_switch]-{$key}">
                                        <input id="row[d1_standard_switch]-{$key}" name="row[d1_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d1_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d1_standard]" value="{$row.d1_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d1_top]" value="{$row.d1_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d1_online]" value="{$row.d1_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d1_offline]" value="{$row.d1_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>
                    <div class="tab-pane" id="tab2" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d2_t1]" value="{$row.d2_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d2_t2]" value="{$row.d2_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d2_t3]" value="{$row.d2_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d2StandardSwitchList" item="vo"}
                                    <label for="row[d2_standard_switch]-{$key}">
                                        <input id="row[d2_standard_switch]-{$key}" name="row[d2_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d2_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d2_standard]" value="{$row.d2_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d2_top]" value="{$row.d2_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d2_online]" value="{$row.d2_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d2_offline]" value="{$row.d2_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>
                    <div class="tab-pane" id="tab3" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d3_t1]" value="{$row.d3_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d3_t2]" value="{$row.d3_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d3_t3]" value="{$row.d3_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d3StandardSwitchList" item="vo"}
                                    <label for="row[d3_standard_switch]-{$key}">
                                        <input id="row[d3_standard_switch]-{$key}" name="row[d3_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d3_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d3_standard]" value="{$row.d3_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d3_top]" value="{$row.d3_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d3_online]" value="{$row.d3_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d3_offline]" value="{$row.d3_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>
                    <div class="tab-pane" id="tab4" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d4_t1]" value="{$row.d4_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d4_t2]" value="{$row.d4_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d4_t3]" value="{$row.d4_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d4StandardSwitchList" item="vo"}
                                    <label for="row[d4_standard_switch]-{$key}">
                                        <input id="row[d4_standard_switch]-{$key}" name="row[d4_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d4_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d4_standard]" value="{$row.d4_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d4_top]" value="{$row.d4_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d4_online]" value="{$row.d4_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d4_offline]" value="{$row.d4_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>
                    <div class="tab-pane" id="tab5" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d5_t1]" value="{$row.d5_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d5_t2]" value="{$row.d5_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d5_t3]" value="{$row.d5_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d5StandardSwitchList" item="vo"}
                                    <label for="row[d5_standard_switch]-{$key}">
                                        <input id="row[d5_standard_switch]-{$key}" name="row[d5_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d5_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d5_standard]" value="{$row.d5_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d5_top]" value="{$row.d5_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d5_online]" value="{$row.d5_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d5_offline]" value="{$row.d5_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>
                    <div class="tab-pane" id="tab6" style="">
                        <div>
                            下限值
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段1</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d6_t1]" value="{$row.d6_t1}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段2</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d6_t2]" value="{$row.d6_t2}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;時段3</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入此時段下限值次數" name="row[d6_t3]" value="{$row.d6_t3}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">標準值</label>
                            <div class="col-xs-12 col-sm-8">
                                <div class="radio">
                                    {foreach name="d6StandardSwitchList" item="vo"}
                                    <label for="row[d6_standard_switch]-{$key}">
                                        <input id="row[d6_standard_switch]-{$key}" name="row[d6_standard_switch]" type="radio" value="{$key}" {in name="key" value="$row.d6_standard_switch"}checked{/in} /> {$vo}
                                    </label>
                                    {/foreach}
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">&nbsp;&nbsp;&nbsp;&nbsp;次數</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入標準值次數" name="row[d6_standard]" value="{$row.d6_standard}" type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">上限值</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入上限值報警次數" name="row[d6_top]" value="{$row.d6_top}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-xs-2 control-label">在線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入在線未達時間(分鐘)" name="row[d6_online]" value="{$row.d6_online}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-xs-2 control-label">離線狀態</label>
                            <div class="col-xs-10">
                                <input placeholder="請輸入離線線未達時間(分鐘)" name="row[d6_offline]" value="{$row.d6_offline}"  type="number" class="form-control text" />
                            </div>
                        </div>
                        <div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
